package com.gnerv.battle.boot.project.guard.business;

import com.gnerv.battle.boot.common.base.model.RestResult;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorHostCreateDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorHostDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorHostUpdateDTO;

import java.util.List;

/**
 * @author ligen
 */
public interface MonitorHostBusiness {

    RestResult<Void> create(MonitorHostCreateDTO monitorHostCreateDTO);

    RestResult<Void> deleteByUkId(String ukId);

    RestResult<Void> updateByUkId(MonitorHostUpdateDTO monitorHostUpdateDTO);

    RestResult<MonitorHostDTO> selectByUkId(String ukId);

    RestResult<List<MonitorHostDTO>> listByName(String name, Integer page, Integer size);
}
